package com.zisu.wcsopcua.enums;

/**
 * @Author: 蔡翔
 * @Date: 2019/10/31 10:09
 * @Version 1.0
 */
public enum DDJStatusEnum implements CodeStatusEnum{
    Device_Status_FREE(1,"立库空闲"),
    Device_Status_RUNNING(2,"立库正在执行（堆垛机在执行）"),
    Device_Status_FINISHED(3,"立库执行完毕"),
    Device_Status_FAULT(4,"立库故障"),

    Device_OVERWEIGHT(1,"货物超重"),
    Device_NORMAL(0,"货物正常"),
    Device_SIDEDEVIATION(2,"货物侧偏移"),
    Device_OVERHEIGHT(3,"货物超高"),

    Device_ISRUNNING(1,"设备正在行走"),
    Device_STOP(0,"设备停止"),

    TRUE(1,"代表true"),
    FALSE(0,"代表false"),
    ZERO(0,"代表清0")
    //后续状态再补充
    ;
    private Integer deviceStatus;
    private String desc;
    DDJStatusEnum(Integer deviceStatus,String desc){
        this.deviceStatus = deviceStatus;
        this.desc = desc;

    }


    @Override
    public Integer getDeviceStatus() {
        return this.deviceStatus;
    }
}
